home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 2.iso / STUTTGART / UTIL / SYS / CONFIG_PLUS / !Config+ / !Help < prev    next >
Text File  |  1995-03-23  |  20KB  |  384 lines

  1. Configure+ version 1.02
  2. © Sam Kington 23rd March 1995
  3.  
  4. This program is freeware, *not* public domain – i.e., I retain copyright on
  5. Configure+ and all the related files (see “Boring legal message”). !Configure
  6. and the patched Configure files remain © Acorn Computers Ltd. and must not be
  7. distributed – run the file “Distribute” inside !ConfPatch before giving this
  8. to anyone else.
  9.  
  10. If you’re not going to read all of this file, at least read section “How to
  11. get this to work” – otherwise it won’t work (obvious really...).
  12.  
  13. Existing users, please see the “Changes” section on the changes since version
  14. 1.00 and 1.01, and any persistant bugs.
  15.  
  16. What this program does
  17. **********************
  18.  
  19.    This program is an extension to !Configure: it allows you to set various
  20. configure options that !Configure omitted, while apparently still using
  21. !Configure. It adds four icons to Configure’s main window, “Drives”, “Filer”,
  22. “Misc” and “Third party”; clicking on any of these brings up a window,
  23. exactly like clicking on any of the other icons. The first three new windows
  24. behave exactly like the others do, apart from the fact that they are in fact
  25. “owned” by Configure+ rather than Configure, and that the “Misc” window has a
  26. scroll bar because there’s so much in it. The “Third party” window is
  27. slightly different, as it contains all the *Configure options the program
  28. didn’t know about, and is thus slightly less nice (see below for more
  29. details).
  30.  
  31.    As this is an extension to Configure, operation should be self-explanatory:
  32. if you know how to use Configure, you should know how to use Configure+. If you
  33. want to know what all these new configuration options are, use interactive
  34. help and everything will become clear (hopefully).
  35.  
  36. Why do I need this?
  37. *******************
  38.  
  39.    Because, when Acorn wrote Configure, they left a few things out. The
  40. Configure options in the extra window range from quite useful (ARM3 Cache) to
  41. frankly esoteric (Scroll or More dither patterns), and some can be set elsewhere
  42. (filer and netfiler options, Boot in the Desktop Save box from the Task Manager
  43. iconbar menu) – you won’t want to use them all the time, and indeed you
  44. probably won’t want to use them as much as you will the other options. But
  45. it’s a more friendly way of setting them, it avoids shelling out to the CLI
  46. (F12 or Ctrl-F12), especially as some cannot be set from the command line.
  47.  
  48.    Many of the options in the Misc window are either undocumented or tricky
  49. to set (i.e. there isn’t a *Configure option for them). This is the case of
  50. full hardware tests, solid drags, screen update stops blanker, 3D desktop and
  51. especially prompt for floppy on reset. This last one is in fact totally
  52. undocumented, and I am grateful to Christopher Swaley (BAU July 1993) for
  53. pointing this one out to me. (I had actually found it myself by accident, but
  54. I didn’t know where in CMOS RAM it was). (Conversely, some documented
  55. options don’t actually work, even though they’re in the PRMs...). Again, none
  56. of this is earth-shattering stuff, except solid drags, although if you have
  57. Desktop+ (and you should have) solid drags will be turned on automatically.
  58.  
  59.    Another reason for using Configure+ is that while Configure will save the
  60. entire contents of the CMOS RAM to a Configure file, it will only load back
  61. into CMOS RAM (from a Configure file), the options it knows about. This means
  62. it doesn’t load ADFSBuffers, Cache, third party configuration options, etc.
  63. etc. Configure+ will notice when you load a new Configure file, and load all the
  64. options properly. This does mean, of course, that it will take quite a long
  65. time (1 or 2 seconds – accessing CMOS RAM is quite slow), but then you
  66. shouldn’t have to do this sort of thing too often.
  67.    RISC OS 3.5 !Configure no longer loads Configure files - instead you have to
  68. use SaveCMOS. I couldn’t be bothered to change it, and anyway I think you
  69. *should* be able to load Configure files by dragging them to Configure, so for
  70. RISC PC users Configure+ adds even more functionality ;).
  71.  
  72.    A final reason is that Configure+ knows about third-party modules’
  73. configuration options, or, to be more accurate, only pretends it does but does
  74. it quite convincingly. The “Third party” window contains a list of all the
  75. configuration options provided by non-Acorn modules, either in expansion cards
  76. or in RAM, that you can set by filling in the appropriate results. There are
  77. no fancy arrows or menu boxes or anything because Configure+ doesn’t know
  78. about the new options, but you do get the *Help text and syntax messages if
  79. you use interactive help on the windows (*Help message for the name of the
  80. option, at the left of the window, syntax message for the value of the
  81. option, at the right of the window).
  82.  
  83.    NB: Configure+ only scans the list of modules for *configure options when it
  84. is first started up, so if you load a module that has *configure options, you
  85. will have to quit Configure+ and re-run it to see them in the list.
  86. Conversely, if you quit a module that has *configure options and then try to
  87. set the option with Configure+, obviously Configure+ will complain.
  88.  
  89. How to get this to work
  90. ***********************
  91.  
  92.    Configure+ adds new features to !Configure by adding four icons to
  93. Configure’s main window, which means it has to modify Configure’s Sprites,
  94. Templates and Messages files. However, Configure is © Acorn Computers Ltd., and
  95. the appropriate files, especially when modified, cannot be distributed like
  96. freeware. As every Acorn user has a copy of Configure, this isn’t too much of
  97. a problem: all you have to do is run a small “patch” utility.
  98.  
  99.    You should have a program called “ConfPatch” supplied with Config+ (if not,
  100. complain loudly to the person who supplied you with Config+). Running this,
  101. having “seen” Config+, will create the appropriate files, after asking you a
  102. few questions (see ConfPatch’s documentation for this).
  103.  
  104.    Before distributing Configure+, run the Obey file “Distribute” in the
  105. !ConfPatch directory (shift-double-click on the !ConfPatch icon to open it).
  106. This will delete the modified files.
  107.  
  108. More about some new Configure options
  109. ************************************
  110.  
  111.    Using interactive help should be enough to work out what the new Configure
  112. options are, but in some cases there is slightly more to say than will fit in
  113. a help message.
  114.  
  115. • More dithering in greyscale modes:
  116.    In a two or four-colour mode, the WIMP will use dithering to make up for
  117. the lack of colours; however, by default it will only do this for colours 0
  118. to 7, i.e. the grey scales. If you select this, it will use dithering for all
  119. the colours – but this will not happen everywhere. In practice, sprites in
  120. Filer windows, on the Pinboard, the icon bar or application windows will not
  121. be dithered, except for Sprite editors and the like, for which this option
  122. has no effect as they dither anyway. Draw files, Artworks files and similar
  123. objects will also be dithered whatever the state of the option.
  124.    Essentially, dialogue boxes and similar windows will be dithered
  125. differently, as will menus. MemoryPie is a good example of the difference
  126. setting this option makes.
  127.    The current dither state will actually change on a mode change.
  128.    
  129. • Smarter scrolling
  130.    This is a standard option, it even has its own *Configure option, and there
  131. *is* a difference, but it’s not at all noticeable.
  132.  
  133. Replacing Configure
  134. ******************
  135.  
  136.    To make the extension/replacement of Configure complete, there are two files
  137. in the !Config+.Configure directory, SetConfig and SetConfig+. Running SetConfig+
  138. will change Configure’s icon to the Config+ icon (i.e. add a small red “+” sign
  139. to it), and change the !Boot, !Run and !Help files in !Configure in the Apps
  140. directory to point to the files in !Config+, the upshot being that Configure is
  141. replaced by Config+. Run SetConfig to reverse these changes.
  142.  
  143.    As the RISC OS 3.50 version of !Configure lives on the hard disc inside
  144. !Boot, and not in the Apps directory at all, SetConfig+ won’t work all that
  145. correctly - I assume it will put the appropriate icon in the Apps directory,
  146. but if you double-click on !Boot (the recommended way to run Configure,
  147. apparently) the old one will load.
  148.  
  149.    By default the !Config+.!Boot file runs SetConfig+; remove or comment out
  150. (prefix with a “|”) the offending line if you don’t want Config+ to replace
  151. Configure, or if you have a RISC PC. If you do want to make Config+ the default
  152. version of Configure, you might want to add a Filer_Boot
  153. Utilities:Extensions.!Config+ (replace by the real path) to your Boot file.
  154.  
  155.    The Conf+Resources module, the module that changes the files in
  156. the Apps directory, was created by Joseph Walker’s ResourceFS modifier,
  157. ResMod (with a Help string tweaked to make it look prettier in the *Help
  158. Modules list).
  159.  
  160. How it works
  161. ************
  162.  
  163.    This is mainly for the techies out there, but non-initiates may find it
  164. interesting.
  165.  
  166.    When you run Config+, or run Configure having run SetConfig+ previously, it
  167. does the following things:
  168.    • Loads the module if it isn’t already loaded
  169.    • Runs Configure+ (which just sits in the background and waits for mouse
  170.      clicks)
  171.    • Runs Configure
  172.    Note that Configure+ and Configure have to be started up by separate files,
  173. as you can’t run two programs from the same Obey file, and Desktop files don’t
  174. set the WimpSlot properly.
  175.  
  176.    The module sets up a first filter on all tasks, intercepting all messages.
  177. When it gets a Message_TaskInitialise from either Configure or Configure+, it
  178. remembers their task handles; when it has a sensible value for both, it knows
  179. that both tasks have started up, so it sets up another filter on Configure,
  180. intercepting all mouse clicks, as well as open and close window events –
  181. partly to know where the main window is, to align windows with the top, and
  182. also because the window handle of the main window changes every time it’s
  183. closed and re-opened. These are then passed along to Configure+. When either
  184. of the tasks quits, a Message_TaskCloseDown is received by the first filter, so
  185. the module stops the filter on Configure. Configure+ is also checking for
  186. Message_TaskCloseDown, so if Configure is quit Configure+ will quit as well.
  187.    
  188.    In addition, the first filter will also pass along DataLoad and DataOpen
  189. messages to Configure+, so that when you double-click on a Configure file or
  190. drag it to the Configure icon, Configure+ loads all of it into CMOS rather than
  191. just the options Configure knows about (which is what it usually does). This
  192. means all the configuration options are loaded, including things like
  193. ADFSBuffers and any third-party options. So you don’t have to use FlDesk
  194. anymore ;).
  195.  
  196.    Note that when Configure+ gets a mouse click on one of Configure’s windows,
  197. it has to know whether the window is the main window (in which case it should
  198. check if one of its icons has been clicked on), or another window (in which
  199. case it should ignore the mouse click). It can’t check the window title, as
  200. the title is stored in Configure’s memory and therefore inaccessible, so it
  201. checks the number of icons in the window – which should be 16 in the Main
  202. window. So whatever you do, don’t change the number of icons in the Main
  203. window!
  204.  
  205.    Oh, a cautionary tale: I spent what must be several hours (it certainly
  206. felt like it) trying to get the filter to pass along DataLoad events to
  207. Configure+. Sometimes it worked if I passed it along twice (but it only got
  208. there once); once, when it was being sent along three times, it arrived five
  209. times (according to Vigil, which I suspect was responsible for some of the
  210. crashes). The times I had to reboot the machine because the Filter Manager
  211. got confused... (shudder)
  212.  
  213.    The problem was that I was intercepting messages in the Configure filter
  214. (the second one), which seems like a logical thing to do, except that the
  215. first one was already intercepting messages for all tasks, including Configure,
  216. and obviously the Filter Manager gets a bit confused when two filters with the
  217. same name intercept the same events ;). So if you have more than one filter
  218. intercepting events from potentially the same tasks, make sure they’re not
  219. intercepting the same ones...
  220.  
  221.    That being said, I’ve only seen the Filter Manager crash on this
  222. particular occasion, and considering that I’ve got 12 filters running on this
  223. machine at the moment that’s a compliment of the highest order :-).
  224.  
  225. Miscellanea
  226. ***********
  227.  
  228.    If you have loads of extra, non-Acorn, Configure options, the Third Party
  229. window will cunningly sprout a scroll-bar.
  230.  
  231.    I have been told of a problem with the Ether3 module (obscure stuff, eh?),
  232. which apparently uses the same command to set all of its oodles of
  233. configuration options, which means you get a very long string in the Misc
  234. window that you can’t read. If it’s longer than 40 characters, it might crash
  235. the program. But then, it shouldn’t do this, it’s contrary to Acorn
  236. guidelines (and no other modules behave like this).
  237.  
  238. Changes
  239. *******
  240.  
  241. Version 1.02 has the following changes:
  242.    • Adjust-clicking now works: if you Adjust-click on the main window, it
  243.      will vanish; if you close a window with Adjust, it will re-open the main
  244.      window if necessary.
  245.    • The promised radical changes – the new RiscPC configuration options –
  246.      have not arrived because, er, there aren’t any new RiscPC configuration
  247.      options – at least, none that aren’t already catered for.
  248.  
  249. Version 1.01 has the following changes:
  250.    • Countries and Territories now work correctly. Thanks to whoever wrote
  251.      the Norwegian territory module, and thanks to the people at
  252.      flipper.pvv.unit.no who put it on their archive server so I could
  253.      download it and test Configure+ with two territories loaded :-).
  254.    • Interactive help is more robust - i.e., CDFS won’t cause nasty
  255.      address exceptions and the like when you try to get help on its
  256.      configure options. The downside to this is that the LineEditor help
  257.      is rather messier - c’est la vie.
  258.    • The patch routine doesn’t centre the windows on the screen anymore. This
  259.      was only to prettify the patching process, and Risc PC users probably
  260.      want their Configure window to stay on top of the icon bar, thank you
  261.      very much.
  262.    • You can’t run two copies of Configure+ any more. Version 1.00 allowed you
  263.      to do this, and as a result could crash spectacularly...
  264.    • The “Third party” window doesn’t do anything if you don’t actually have
  265.      any third party configure options. This is a vast improvement over it
  266.      crashing obscurely (but not fatally) in version 1.00 :-).
  267.      
  268. It still has the following things wrong with it:
  269.    • It doesn’t work with the non-3D RISC OS 3.1 templates - the icons are
  270.      misaligned. An interim solution is to load the files into a Template
  271.      editor (TemplEd is the best, in my opinion) and move the icons
  272.      around. I probably won’t fix this as there can’t be many people
  273.      without NewLook nowadays, and I doubt that those people want to run
  274.      Configure+. If you feel badly about this, tell me and I’ll fix it. But
  275.      don’t hold your breath.
  276.            
  277. Boring legal message
  278. ********************
  279.  
  280.    This application is freeware, that is, it can be distributed freely as
  281. long as only reasonable charges are made for media and distribution. I
  282. retain copyright on all program code and documentation.
  283.  
  284.    There is one exception to this, which is the modified Configure files in the
  285. !Config+.Configure directory – namely, Templates, Messages, Sprites, and, if
  286. present, Sprites22 and Sprites23. If you have just got the program, and
  287. haven’t run !ConfPatch, you shouldn’t have these files – if you do, someone
  288. has been breaking the law. These files remain © Acorn Computers Ltd., and so
  289. cannot be distributed along with the rest of the program – you must run
  290. !ConfPatch to create them from the original files. Before distributing Config+,
  291. run the file “Distribute” in the !ConfPatch directory to delete the modified
  292. files. See also the section “How to get this to work” for more details.
  293.  
  294.    This software is supplied “as is”: I make no warranty, expressed or
  295. implied, of the merchantability of this software or its fitness for any
  296. particular purpose. In no circumstances shall I be liable for any damage,
  297. loss of profits, or any indirect or consequential loss arising out of the use
  298. of this software or inability to use this software, even if I have been
  299. advised of the possibility of such loss.
  300.  
  301.    In other words, if your computer crashes, blows up, you lose all your work
  302. etc. all because of Configure+ (unlikely I know), don’t blame me.
  303.  
  304. About all these strange foreign characters in this file
  305. *******************************************************
  306.  
  307.    OK, so if you’re reading this on a PC or a Mac or another strange machine
  308. like that, you may be wondering what all these strange ae things are. Well,
  309. they’re quotes (sorry, there was another one), dashes, ligatures, etc.
  310. Honest. But not on all machines...
  311.    Basically, character sets are only standard up to character 127, which is
  312. basically alphanumerics and a few standard punctuation marks. Foreign
  313. characters, typographical oddities like quotes and ligatures, and other more
  314. obscure symbols are “non-standard”, and each computer often has its own idea
  315. of where they should go in the character set. So don’t worry: even if it’s
  316. hard to read on your current machine, it won’t be on an Acorn machine. It may
  317. look slightly strange if you’re using the System font, however.
  318.    But why am I using these strange characters in the first place? Well,
  319. they’re in the character set and they look nice in an outine font, and I’ve
  320. written a program called Smart Quotes (sorry for the plug) that substitutes
  321. these sort of characters automatically, and I’ve got it turned on at the
  322. moment...
  323.  
  324. Thanks
  325. ******
  326.  
  327.    Thanks are due to the following people (not in any particular order):
  328.       Dick Alstein for TemplEd (couldn’t live without it)
  329.       Cy Booker for his wonderful BASIC cruncher (registration’s in the post)
  330.       Simon Middleton at Uniqueway for help and feedback
  331.       Rheingold for Vigil (I actually bought it)
  332.       David Rushall for FlDesk (I don’t actually use it normally, but the
  333.          compare CMOS option was useful)
  334.       Kemal Sangrar for his invaluable TaskGuard utility – press Alt-Break
  335.          and the current task is aborted. Makes you wonder what all this
  336.          fuss over the RISC PC is all about ;).
  337.       Dominic Symes for Zap (couldn’t live without it)
  338.       Christopher Swaley for the floppy disc configure option
  339.       Dave Walker at Acorn Customer Support for all the help
  340.       Joseph Walker for ResMod
  341.       
  342.    Acorn get a firm and hearty thumbs up for the machine, RISC OS, the Filter
  343. Manager in particular and the quality of the PRMs (and at £100 I should think
  344. so ;) ), and a loud raspberry for not documenting all the CMOS options –
  345. bytes 215 to 223 aren’t even mentioned, let alone described as “reserved for
  346. Acorn use” when they actually do something quite sensible, like other bytes
  347. I could think of. In the RISC OS 2 PRMs they already got the CMOS slightly
  348. wrong, so Acorn, if you know what’s good for you – sack the guy who does the
  349. CMOS ;).
  350.    Another thumbs up goes to Dave Walker at Customer Support for all the
  351. help, and another raspberry for those people who designed RISC OS 3.50
  352. Configure, for not deleting the unused icons in the Templates file (look at the
  353. original Templates and count the number of icons shifted to one side...).
  354.  
  355. How to contact me
  356. *****************
  357.  
  358. All bug-reports, suggestions, comments or indeed any feedback at all will be
  359. welcomed. Here’s how to get to me:
  360.  
  361. E-mail     : 9262861k@arts.gla.ac.uk, 926286ki@udcf.gla.ac.uk during term-time
  362.              These should be OK until June 1996
  363.              At Christmas, Easter and during the summer, you can get me at
  364.              wombat@altern.com, wombat@email.teaser.com or sam@altern.com, in order
  365.              of preference (that is, if mail bounces off one of these or I don’t
  366.              answer within a week send to the next one).
  367.  
  368. Snail-mail : My term-time address, at least until June 1995, is:
  369.              Sam Kington
  370.              Flat 2/1
  371.              44 Hotspur Street
  372.              Glasgow G20 8NL
  373.              SCOTLAND
  374.              
  375.              Again, a backup is the home address – anything that goes here will get
  376.              to me eventually.
  377.              Sam Kington
  378.              Merlhiot
  379.              24420 Savignac les Eglises
  380.              FRANCE
  381.  
  382. Term-time is October to June, with bits off at Christmas (3 weeks) and
  383. Easter (4 weeks).
  384.